package com.authsphere.bootstrap.web.controller;

import com.authsphere.common.result.ResponseResult;
import com.authsphere.security.authenticator.api.Authenticator;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/26 16:39
 **/
@RestController
@RequestMapping("/sms")
public class WebSmsController {
    @Resource
    private Authenticator authenticator;

    @PostMapping("/login/send")
    public ResponseResult<Void> sendLogin() {
//        authenticator.send()
        return ResponseResult.ofSuccess();
    }
}
